package com.atmk.atmk.designMode.结构型.适配器模式.对象适配器.适配器类;

import com.atmk.atmk.designMode.结构型.适配器模式.对象适配器.原始类.Adaptee;
import com.atmk.atmk.designMode.结构型.适配器模式.对象适配器.目标接口.Target;

public class Adapter implements Target {
    private Adaptee adaptee;

    public Adapter(Adaptee adaptee) {
        this.adaptee = adaptee;
    }

    @Override
    public void request() {
        adaptee.specificRequest();
    }
}
